<template>
    <div>
        <table>
            <tr>
                <td>课程名称</td>
                <td>价格</td>
                <td>优惠价</td>
                <td>总价</td>
            </tr>
            <tr v-for="(i,j) in item" :key="j">
                <td>{{i.kecheng_id.name}}</td>
                <td>{{i.price}}</td>
                <td>{{i.price-10}}</td>
                <td>{{i.price + i.price-10}}</td>

            </tr>
        </table>
    </div>
</template>

<script>
import axios from 'axios'
export default {
    name:'gou',
    data() {
        return {
            item:[]
        }
    },
    methods: {
        huo(){
            
        }
    },
    created() {

    }
}
</script>

<style scoped>

</style>
